//
//  APIConfig.h
//  Around
//
//  Created by 华谕 on 2017/6/13.
//  Copyright © 2017年 HUYU. All rights reserved.
//

#ifndef APIConfig_h
#define APIConfig_h

#define kAppVersion @"kAppVersion"//App版本
#define GAODEKEY @"f695f9fa73f94358f4e4a0a9dd4aced8"

//登录状态
#define SERVER_IsLogin @"isLogin"
#define SERVER_isPass @"isShenghe"
//用户信息
#define SERVER_UserInfo @"/contractor/user/info"
//用户ID
#define SERVER_UserID @"userid"
//登录Token
#define SERVER_LoginToken @"loginToken"
//登录phone
#define SERVER_LoginPhone @"loginPhone"

//注册验证码
#define SERVER_CodeRegist @"/contractor/user/getRegisterCode"

//注册
#define SERVER_Regist @"/contractor/user/register"

//登录
#define SERVER_UserLogin @"/contractor/user/login"

//获取登录用户信息
#define SERVER_UserMessage @"/contractor/user/info"

//获取工厂信息
#define SERVER_FactoryInfo @"/contractor/contractor/info"
//工厂信息保存
#define SERVER_FactoryMessageSave @"/contractor/contractor/save"
//上传图片
#define SERVER_PictureUpload @"/contractor/upload/file"
//获取工厂地址
#define SERVER_GetFactoryAddress @"/contractor/area/findAll"

//获取密码加密公钥
#define SERVER_PublicKey @"/contractor/keystore/rsaPublicKey"

//获取所有城市
#define SERVER_AllCity @"/contractor/area/city"

//热门城市
#define SERVER_HotCity @"/contractor/area/hot"
//城市ID
#define SERVER_CityID @"cityID"

//获取所有产线列表
#define SERVER_AllProductionLine @"/contractor/pipeline/page"
//获取我的产线列表
#define SERVER_ProductionLine @"/contractor/pipeline/mine"
//选择产线类型
#define SERVER_ProduceLineKind @"/contractor/category/findAll"
//添加产线
#define SERVER_SaveProductionLine @"/contractor/pipeline/save"
//产线详情
#define SERVER_ProductionLineDetail @"/contractor/pipeline/select"

//我的钱包余额
#define SERVER_MyWallet @"/contractor/wallet/mine"
//交易明细
#define SERVER_MyTransaction @"/contractor/transaction/mine"
//修改提现密码时请求验证码
#define SERVER_GetUpdateWithDrawPswCode @"/contractor/user/getUpdateWithdrawPswCode"
//修改提现密码
#define SERVER_UpdateWithDrawPsw @"/contractor/user/updateWithdrawPsw"
//提现
#define SERVER_WithDrawSave @"/contractor/withdraw/add"
//银行卡列表
#define SERVER_BankCardList @"/contractor/bankCard/mine"
//解除银行卡绑定
#define SERVER_DeleteBankCard @"/contractor/bankCard/delete"

//获取添加银行卡的验证码
#define SERVER_BankCardGetCode @"/contractor/bankCard/getCode"
//添加银行卡
#define SERVER_BankCardGetSave @"/contractor/bankCard/save"
//银行列表
#define SERVER_BankList @"/contractor/bank/findAll"
//是否设置了提现密码
#define SERVER_PasswordSetting @"/contractor/withdraw/passwordSetting"
//退出登录
#define SERVER_UserLogout @"/contractor/user/logout"
//修改密码时的验证码
#define SERVER_GetUpdatePswCode @"/contractor/user/getUpdatePswCode"
//修改密码
#define SERVER_UpdatePsw @"/contractor/user/updatePsw"

//实名认证(保存)
#define SERVER_IdentitySave @"/contractor/identity/save"
//实名认证(列表数据)
#define SERVER_IdentityMine @"/contractor/identity/mine"

//工厂类型
#define SERVER_CategoryFindAll @"/contractor/category/findAll"
//工厂产品
#define SERVER_ProductFindAll @"/contractor/product/findAll"

//添加设备
#define SERVER_MachineFindAll @"/contractor/machine/findAll"
//选择工种
#define SERVER_WorkFindAll @"/contractor/work/findAll"

//意见反馈
#define SERVER_FeedBackSave @"/contractor/feedback/save"

//关于
#define SERVER_HelpIntro @"/contractor/systemConfig/companyIntro"
//客服电话
#define SERVER_HelpPhone @"/contractor/systemConfig/customerService"
//帮助中心
#define SERVER_HelpFindAll @"/contractor/help/findAll"

//项目订单列表
#define SERVER_ProjectPage @"/contractor/project/mine"
//评价分数列表
#define SERVER_EvaluatePage @"/contractor/evaluate/page"
//项目详情
#define SERVER_ProjectDetail @"/contractor/project/select"
//验收项目
#define SERVER_ProjectCheck @"/contractor/message/askAccept"

//空闲日期保存
#define SERVER_FreeDateSave @"/contractor/pipelineFreeDate/save"
//我的空闲日期
#define SERVER_FreeDateMine @"/contractor/pipelineFreeDate/findByPipeline"

//系统消息
#define SERVER_MessageMine @"/contractor/message/mine"
//系统消息详情
#define SERVER_MessageDetail @"/contractor/quotation/select"

//特种工人列表
#define SERVER_WorkFindAll @"/contractor/work/findAll"

//评价
#define SERVER_EvaluateSave @"/contractor/evaluate/save"
//招工告示
#define SERVER_WorkerNotice @"/contractor/project/page"
//雇主
#define SERVER_EmployerSelect @"/contractor/employer/select"
//工厂详情
#define SERVER_ContractorDetail @"/contractor/contractor/select"
//报名
#define SERVER_recomAdd @"/contractor/recommend/add"
//查看项目详情
#define SERVER_projectSelect @"/contractor/project/select"
//地图找工厂
#define SERVER_ContractorMap @"/contractor/contractor/map"

//消息项目详情保存
#define SERVER_QuotationSave @"/contractor/quotation/save"
//接受消息
#define SERVER_QuotationAccept @"/contractor/quotation/accept"
//接受消息2
#define SERVER_QuotationAcceptSecond @"/contractor/projectSpot/acceptInvite"
//接受消息3
#define SERVER_QuotationAcceptThird @"/contractor/project/finish"
//拒绝消息
#define SERVER_QuotationRefuse @"/contractor/quotation/refuse"
//拒绝消息2
#define SERVER_QuotationRefuseSecond @"/contractor/projectSpot/refuseInvite"
//拒绝消息3
#define SERVER_QuotationRefuseThird @"/contractor/project/refuse"

//选择工人(系统推荐)
#define SERVER_WorkerMatch @"/contractor/worker/match"
//选择工人(报名)
#define SERVER_WorkerApply @"/contractor/worker/recommend"
//选择工人(确认)
#define SERVER_WorkerEnsure @"/contractor/projectSpot/recommend"

//确认项目
#define SERVER_EnsureProject @"/contractor/project/recommend"

//工人项目信息
#define SERVER_workerProject @"/contractor/project/findByWorker"
//工人评价信息
#define SERVER_workerEvaluate @"/contractor/evaluate/page"
//获取工人信息
#define SERVER_workerMessage @"/contractor/worker/select"

//通知
#define SERVER_MessageInit @"/contractor/message/init"
//通知test
#define SERVER_MessageTest @"/contractor/message/test"

//删除产线
#define SERVER_DeleteProductionLine @"/contractor/pipeline/delete"

//收藏，取消收藏 /worker/collect/addOrRemove
#define SERVER_collectAddOrRemove @"/contractor/collect/addOrRemove"

//协议
#define SERVER_Agreement @"/contractor/systemConfig/findByKey"

//清空空闲时间
#define SERVER_ClearPipelineFreeDate @"/contractor/pipelineFreeDate/clear"

//消息是否未读
#define SERVER_MessageIsRead @"/contractor/message/mineCount"

//产线是否可以保存
#define SERVER_ProduceIsCanSave @"/contractor/quotation/checkSave"

#endif /* APIConfig_h */

//服务器地址
#if 1
#define SERVER_HOST @"https://m.moform.cn"

#else
#define SERVER_HOST @"http://a.h-tt.cn"


#endif /* APIConfig_h */

